package cn.sdormitory.service.impl;

import cn.sdormitory.attendance.dao.AttendanceRulesDao;
import cn.sdormitory.attendance.entity.AttendanceRules;
import cn.sdormitory.service.AppAttendanceRulesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: lx
 * @date: 2023/9/8 15:25
 * @description:
 */
@Service
public class AppAttendanceRulesServiceImpl extends ServiceImpl<AttendanceRulesDao, AttendanceRules> implements AppAttendanceRulesService {

    @Autowired
    AttendanceRulesDao attendanceRulesDao;

    @Override
    public List<AttendanceRules> findAllAttendanceRules() {
        return attendanceRulesDao.getAllAttendanceRulesDetailInfo();
    }
}
